package com.qf.kele02.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * 该vo用于接收用户注册参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVo {

	private String username;

	private String password;

	private String sex;

	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birthday;

	private String capchar;

	private MultipartFile file1;

}
